package calcfactory;

public class result {
    public static void main(String[] args) {
        CalcFactory cf = new CalcFactory();
        calc c = cf.getCalc(1);
        int num = c.doCalc(1,1);
        System.out.println(num);
    }
}
